﻿CREATE TABLE [dbo].[core_privilege] (
    [Id]          UNIQUEIDENTIFIER NOT NULL,
    [Code]        NVARCHAR (MAX)   NULL,
    [SiteId]      UNIQUEIDENTIFIER NOT NULL,
    [Type]        NVARCHAR (MAX)   NULL,
    [RefId]       UNIQUEIDENTIFIER NULL,
    [RefModule]   NVARCHAR (MAX)   NULL,
    [Caption]     NVARCHAR (MAX)   NULL,
    [Description] NVARCHAR (MAX)   NULL,
    CONSTRAINT [PK_dbo.core_privilege] PRIMARY KEY NONCLUSTERED ([Id] ASC)
);

